package com.hghivln.pojo.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 收费表
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderChargeDto extends BaseDto {

    /**
     * 总费用
     */
    @NotNull(message = "总费用不能为空")
    @ApiModelProperty(value = "总费用")
    private BigDecimal orderAmount;

    /**
     * 病历ID
     */
    @NotBlank(message = "病历单号不能为空")
    @ApiModelProperty(value = "病历ID")
    private String chId;

    /**
     * 挂号单
     */
    @NotBlank(message = "挂号单号不能为空")
    @ApiModelProperty(value = "挂号单号")
    private String regId;

    /**
     * 患者名称
     */
    @NotBlank(message = "患者名称不能为空")
    @ApiModelProperty(value = "患者名称")
    private String patientName;
}